<template>
    <div class="breadCrumb">
        <el-breadcrumb separator-class="el-icon-arrow-right">
            <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
            <el-breadcrumb-item>{{ name1 }}</el-breadcrumb-item>
            <el-breadcrumb-item>{{ name2 }}</el-breadcrumb-item>
        </el-breadcrumb>
    </div>
</template>

<script>
    export default {
        props:['name1','name2']
    }
</script>

<style lang="scss" scoped>
.breadCrumb{
    margin-bottom:10px;
}
</style>